package cn.ylz.ylmall.content.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Collect {
    @TableId(type = IdType.AUTO)
    private Long id; //收藏id
    private Long userId; //当前用户id
    private Long contentId; //收藏文章或视频的id
    private Date collectTime; //收藏时间
}
